const echartsDom: any[] = [];

export function echartsResize(eDom: echarts.ECharts) {
  echartsDom.push(eDom);
  window.onresize = () => {
    echartsDom.forEach((it) => {
      it.resize();
    });
  };
}
